package com.sky.mapper;

import com.sky.dto.User;
import com.sky.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from user where openid = #{openId}")
    UserVO getByOpenId(String openId);

    Integer insert(UserVO userVO);
}
